Stephane Bernaud
2005-Aug-09 19:47 UTC
[Samba] PDC, usrmgr.exe created user lacks profile info
I'm finally near the end (I hope) of setting samba 3.0.14a as a PDC on a debian sarge, but I (and google, and list archive) can't manage to find a solution. When I add user with the help of usrmgr on my XP box, user is created both in linux and samba (thanks user add script), but lacks profile info (I mean Home Directory, HomeDir Drive, Logon Script and Profile Path), so roaming profile doesn't work. If I create user locally (with smbpasswd or pdbedit) profile info are created correctly. As a workaround, I tried to add those info from the add user script, but as the user is not yet created in samba, it doesn't work. Did I miss something ? Is there a workaround ? Thanks in advance for your answer. User created remotly (Usrmgr) ----------------------------- ocb:~# pdbedit -Lv test_user Unix username: test_user NT username: Account Flags: [U ] User SID: S-1-5-21-230672243-2454288981-608407499-3026 Primary Group SID: S-1-5-21-230672243-2454288981-608407499-513 Full Name: test user Home Directory: HomeDir Drive: Logon Script: Profile Path: Domain: COUSPEAU Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: Fri, 13 Dec 1901 21:45:51 GMT Kickoff time: 0 Password last set: Tue, 09 Aug 2005 21:10:23 GMT Password can change: Tue, 09 Aug 2005 21:10:23 GMT Password must change: Fri, 13 Dec 1901 21:45:51 GMT Last bad password : 0 Bad password count : 0 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF User created locally : ----------------------- ocb:~# pdbedit -Lv jean Unix username: jean NT username: Account Flags: [U ] User SID: S-1-5-21-230672243-2454288981-608407499-3024 Primary Group SID: S-1-5-21-230672243-2454288981-608407499-513 Full Name: Home Directory: \\ocb\jean HomeDir Drive: H: Logon Script: login.bat Profile Path: \\ocb\profiles\jean Domain: COUSPEAU Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: Fri, 13 Dec 1901 21:45:51 GMT Kickoff time: Fri, 13 Dec 1901 21:45:51 GMT Password last set: Tue, 09 Aug 2005 20:54:57 GMT Password can change: Tue, 09 Aug 2005 20:54:57 GMT Password must change: Fri, 13 Dec 1901 21:45:51 GMT Last bad password : 0 Bad password count : 0 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Louis van Belle
2005-Aug-10 08:21 UTC
[Samba] samba ldap cups recyle acl kix usrmgr etc... example
For everybody who wants a nice example you can download it from this location. http://www.ratio-benelux.nl/sambaldap.rar.gz this set includes. samba 3.0.14a example with cups, acl, recycle and ldap smbldap-tools example ldap config example libnss_ldap config pam_ldap config poledit.exe with the needed .adm templates nt4 user and server manager kix logon scripts + examples ldapadmin from ldapadmin.sf.net some extra tools some very small readme's to gide you. if you want you server quick up and running, with this its possible to do it within 10 minutes. ( if you running debian. ) .. if your running debian just folow de debian questons bij installing packaged, then folow my readme. for printing. i use cups RAW PRINTING. i use the windows drivers for point and print setup. everything is inspired bij the idealx setup. a nice howto for debian is comming but wil take some time. Louis