search for: pdb_init_sam_new

Displaying 7 results from an estimated 7 matches for "pdb_init_sam_new".

2004 Jul 27
3
passdb requires /etc/passwd entry?
...ss won't work without an /etc/passwd entry, and I don't want to potentially have to add 8000 users from a constantly changing database. Is there any workaround for this? I've noticed in the source that the check for this is done in passdb/passdb.c approx line 947 if (!NT_STATUS_IS_OK(pdb_init_sam_new(&sam_pass, user_name, 0))) But this is in the function local_password_change() -- If this is modifying the smbpasswd database, why would it need to check /etc/passwd? Is this just a sanity check, or do I have my samba configs incorrect? Call me naive, but could I just comment out this sectio...
2004 Jan 21
1
[3.0, LDAP] smbpasswd fails in adding new accounts
...ambaSamAccount))] | ldapsam_getsampwnam: Unable to locate user [uschwarz] count=0 | Finding user uschwarz | Trying _Get_Pwnam(), username as lowercase is uschwarz | Get_Pwnam_internals did find user [uschwarz]! | pdb_set_username: setting username uschwarz, was | element 11 -> now SET | [...] | pdb_init_sam_new: no RID specified. Generating one via old algorithm | pdb_set_user_sid: setting user sid | S-1-5-21-1494128589-2214280660-1490714134-3148 | element 17 -> now SET | pdb_set_user_sid_from_rid: | setting user sid S-1-5-21-1494128589-2214280660-1490714134-3148 | from rid 3148 | account_poli...
2005 Jan 30
1
ldap smbpasswd
...EFAULT Home server: skywalker pdb_set_homedir: setting home dir \\skywalker\username, was element 1 -> now DEFAULT pdb_set_dir_drive: setting dir drive , was NULL element 3 -> now DEFAULT pdb_set_logon_script: setting logon script , was element 4 -> now DEFAULT element 20 -> now DEFAULT pdb_init_sam_new: no RID specified. Generating one via old algorithm pdb_set_user_sid: setting user sid S-1-5-21-2472404719-3990724825-3229645963-3008 element 18 -> now SET pdb_set_user_sid_from_rid: setting user sid S-1-5-21-2472404719-3990724825-3229645963-3008 from rid 3008 element 20 -> now CHA...
2005 Jul 05
0
changing the primary group of a user
...pdb_set_homedir: setting home dir \\server\profiles\ppacheco, was element 1 -> now DEFAULT pdb_set_dir_drive: setting dir drive c:, was NULL element 3 -> now DEFAULT pdb_set_logon_script: setting logon script netlogon.ppacheco.bat, was element 4 -> now DEFAULT element 20 -> now DEFAULT pdb_init_sam_new: no RID specified. Generating one via old algorithm pdb_set_user_sid: setting user sid S-1-5-21-1644118684-451077198-3181867690-2264 element 18 -> now SET pdb_set_user_sid_from_rid: setting user sid S-1-5-21-1644118684-451077198-3181867690-2264 from rid 2264 element 20 -> now CHAN...
2005 Jan 31
0
ldap smbpasswd UH???
...ome dir \\skywalker\username, was >>element 1 -> now DEFAULT >>pdb_set_dir_drive: setting dir drive , was NULL >>element 3 -> now DEFAULT >>pdb_set_logon_script: setting logon script , was >>element 4 -> now DEFAULT >>element 20 -> now DEFAULT >>pdb_init_sam_new: no RID specified. Generating one via old algorithm >>pdb_set_user_sid: setting user sid >>S-1-5-21-2472404719-3990724825-3229645963-3008 >>element 18 -> now SET >>pdb_set_user_sid_from_rid: >> setting user sid S-1-5-21-2472404719-3990724825-3229645963-3008...
2004 Aug 06
0
pdbedit and tdbsam
...2-1598341932-1001 from rid 1001 Home server: samba pdb_set_profile_path: setting profile path \\samba\profiles\root, was Home server: samba pdb_set_homedir: setting home dir \\samba\root, was pdb_set_dir_drive: setting dir drive H:, was NULL pdb_set_logon_script: setting logon script logon.bat, was pdb_init_sam_new: no RID specified. Generating one via old algorithm pdb_set_user_sid: setting user sid S-1-5-21-2351621536-730267382-1598341932-1000 element 18 -> now SET pdb_set_user_sid_from_rid: setting user sid S-1-5-21-2351621536-730267382-1598341932-1000 from rid 1000 new password: retype new pas...
2003 Sep 08
1
smbpasswd -a issues
This totally worked a few days ago... when running 'smbpasswd -a user -D 5' I get the following: root@logos:/home/niles/ldap/debian# smbpasswd -a user -D 5 Netbios name list:- my_netbios_names[0]="LOGOS" New SMB password: Retype new SMB password: Trying to load: ldapsam:ldap://logos.biostat.washington.edu Attempting to register passdb backend ldapsam Successfully added passdb