search for: newuid

Displaying 5 results from an estimated 5 matches for "newuid".

Did you mean: netuid
2003 Apr 20
0
How I got Samba 2.2.8a to run on OpenBSD 3.2 i386
...print scalar localtime() . " - $0 $newname\n"; die "$newname already exists!\n" if ($newname eq "root" || getpwnam($newname)); system($pwd_mkdb, '-p', '-c', $master_passwd); die "Invalid $master_passwd - cannot add any users!\n" if $?; for($newuid = 10000; $newuid < 32767; ++$newuid){ last if !getpwuid($newuid); } die "No free UID!\n" if ($newuid >= 32767); # doesn't happen open(MPW, ">> $master_passwd") or die "Can't open $master_passwd: $!\n"; flock(MPW, LOCK_EX) or die "Can't lo...
2015 Jan 19
2
migrating accounts and passwords
...to migrate my users to new hardware. They're currently using Samba version 3.4.7-0.50 on Fedora 11 I have a new F20 server set up with Samba version 4.1.14 As you know, F11 had user accounts starting at uid 500 whereas F20 has accounts starting at uid 1000 I've already done usermod -u <NewUID> and groupmod -g <newGID> for the Linux accounts to bump them up. How do I migrate Samba accounts and preserve UID/GID and passwords? When I look inside the file created by: pdbedit -e smbpasswd:/root/migrate/smbpasswd.old, I see the old UIDs ?! How do I migrate Samba accounts while ma...
2015 Aug 03
0
Question about samba 4 member server of a pure Windows AD
...ers one by one as follow : * Save old uid (1000-2000 range) * Give a new one (10000+ range) * Launch a command like (multiple -e are possible) on every unix computer having shares o find | while read file; do echo getfacl "$file" | sed -e "s,user:olduid:,user:newuid:," | setfacl --set-file=- "$file"; done * What for user support ticket escalation :-) If your Windows AD does not use rf2307, you can switch to rid but then you'll have to perform the whole ACL change at once (since rf2307 allows me to choose UID I can perform the changes sm...
2015 Aug 03
4
Question about samba 4 member server of a pure Windows AD
Hi, A account created with samba3/ldap (created before 2014-02-20): SID: S-1-5-21-XXXXXXXXXX-XXXXXXXXX-XXXXXXXXXX-3216 UidNumber : 1108 A account created with Users and computers (samba 4 AD DC) SID: S-1-5-21-XXXXXXXXXX-XXXXXXXXX-XXXXXXXXXX-5878 uidNumber : 10023 My actual config (in file-server) : idmap config XXXXXX:backend = ad idmap config XXXXXX:schema_mode = rfc2307 idmap config
2006 Apr 08
2
Roaming profiles cannot be used fully unless a member of "Domain Admins"
Hello! This is my setup Using 3.0.14a-3sarge on Deb. This is my smb.conf file ---------------------------------------- # Global parameters [global] workgroup = MYWORKGROUP server string = Samba Server obey pam restrictions = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n