login script generation for samba windoze users
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
samba_admin
.gitignore
LICENSE
MANIFEST.in
README fixes Mar 11, 2012
requirements.txt
setup.py

README

Introduction
==============

This project has to generate login scripts for windoze users base on their 
usernames and membership in system groups stored in sql database managed
by django-sql-nss-admin (see.: https://github.com/vencax/django-sql-nss-admin).
Maybe support for samba provisioning can be added if somebody wants.
But is is samba webmin job. 

Installation
==============

1. Clone the read-only repo

     git clone git://github.com/vencax/django-samba-admin.git

2. Install the dependencies via PIP.

     pip install -r requirements.txt

3. Add nss_admin into your INSTALLED_APPS.

4. Include samba_admin.urls into your root url conf

     url(r'^samba_admin/', include('samba_admin.urls')),
		
5. Add following configs into settings (change according your needs)

	SAMB_SHARES_MAPPING = { <nameofsystemgrouop> : (<mountLetter>, <sharename>), ... }
	SAMB_PRINTERS_MAPPING = { <sharedPrinterName> : [ group1, group2] }
	
	Example:
	SAMB_SHARES_MAPPING = {
	    'accounting' : ('U', 'accounting_stuff'),
	    'development' : ('T', 'development_stuff'),
	}
	SAMB_PRINTERS_MAPPING = {
	    'kyocera' : ['accounting', 'development'],
	}
				
6. You are done