Displaying 20 results from an estimated 20 matches for "uid_start".
2004 Feb 17
1
smbldap-tools: only incremental UID's?
Hi,
In smbldap-useradd.pl is a pice of code, which find the first unused uid
starting from $UID_START (for example 1000).
if (!defined($userUidNumber)) {
# find first unused uid starting from $UID_START
while (defined(getpwuid($UID_START))) {
$UID_START++;
}
I've over 500 UID's in use (maximum UID is 1547).
It works well, until you delete an user. After deleting an user, the...
2004 Sep 22
1
Protocol negotation failed
...can tell me
what I have missed it would be greatly appreciated. I have been following
the HOWTO step-by-step and I'm not sure what I missed.
Thanks,
Misty
smbldap_conf.pm:
use strict;
package smbldap_conf;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$UID_START $GID_START $smbpasswd $slaveLDAP
$masterLDAP
$slavePort $masterPort $ldapSSL $slaveURI $masterURI
$with_smbpasswd $mk_ntpasswd
$ldap_path $ldap_opts $ldapmodify $suffix $usersdn
$computersdn
$groupsdn $scope $binddn $bindpas...
2002 Sep 08
2
sambaldap tools
...GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$UID_START $GID_START $smbpasswd $slaveLDAP $masterLDAP
$with_smbpasswd $mk_ntpasswd
$ldap_path $ldap_opts $ldapsearch $ldapsearchnobind
$ldapmodify $ldappasswd $ldapadd $ldapdelete $ldapmodrdn
$suffix $usersdn $computersdn
$groupsdn $scope $binddn $bindpasswd
$slaveDN $slavePw $masterDN $masterPw
$_userLogin...
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...ystem "/etc/init.d/nscd status >/dev/null 2>&1";
if ($nscd_status == 0) {
system "/etc/init.d/nscd stop > /dev/null 2>&1";
}
# Read options
my $userUidNumber = $Options{'u'};
if (!defined($userUidNumber)) {
my ($highestUID) = get_last_user_ID();
$UID_START = $highestUID + 1;
$userUidNumber = $UID_START;
#print " UID # is ..$UID_START";
# find first unused uid starting from $UID_START
# while (defined(getpwuid($UID_START))) {
# $UID_START++;
# }
#printf "middle UID start $UID_START.\n";
#} elsif (getpwuid($userUidNumber)) {
# die &...
2005 Feb 03
6
smbldap-populate failure
dear list,
I'm trying to migrate nt4 to samba3, and have two issues at the moment.
First is: I'm getting two (small?) errors using smbldap-populate on my ldap
database. At first I tried ignoring this, but now also rpc net vampire
complains. (maybe because of this..?)
This is the output of smbldap-populate:
<quote>
server:/usr/local/sbin # smbldap-populate
Using builtin directory
2003 Dec 01
1
Fw: PDC/LDAP/SAMBA3/NT4
...Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$UID_START $GID_START $smbpasswd $slaveLDAP $masterLDAP
$slavePort $masterPort $ldapSSL $slaveURI $masterURI $with_smbpasswd $mk_ntpasswd
$ldap_path $ldap_opts $ldapmodify $suffix $usersdn $computersdn
$groupsdn $scope $binddn $bindpasswd
$slaveDN $slavePw $masterDN $masterPw
$_userLoginShell $_userHomePrefix...
2004 Jun 11
2
Samba 3.0.3 on FC2: windows machine cannot join domain
...vice
path = /usr/local/samba/lib/netlogon
read only = yes
write list = dom_admins
[Homes]
username = tfugere
writeable = Yes
force create mode = 0770
force directory mode = 02770
browseable = No
--- End smb.conf ---
5. Made my smbldap*.conf:
--- Start smbldap.conf ---
UID_START="1000"
GID_START="1000"
SID="S-1-5-21-2625200706-2048882972-3065312840"
slaveLDAP="smbtest.soil.ncsu.edu"
slavePort="389"
masterLDAP="smbtest.soil.ncsu.edu"
masterPort="389"
ldapTLS="1"
verify="require"
cafile...
2004 Sep 23
1
Re: Samba 3.0.3 on FC2: windows machine cannot join domain
...vice
path = /usr/local/samba/lib/netlogon
read only = yes
write list = dom_admins
[Homes]
username = tfugere
writeable = Yes
force create mode = 0770
force directory mode = 02770
browseable = No
--- End smb.conf ---
5. Made my smbldap*.conf:
--- Start smbldap.conf ---
UID_START="1000"
GID_START="1000"
SID="S-1-5-21-2625200706-2048882972-3065312840"
slaveLDAP="smbtest.soil.ncsu.edu"
slavePort="389"
masterLDAP="smbtest.soil.ncsu.edu"
masterPort="389"
ldapTLS="1"
verify="require"
cafile...
2004 Apr 12
1
Initial samba + ldap howto
...winbind separator = +
Still not sure what idmap uid and gid now exactly do, but the
entries don't seem to be harmfull as up till now.The reference
guide and howto explain it(page 151), but I don't understand
that explanation or it's implication. It doesn't seem to influence
the UID_START GID_START parameters of the smbldap_tools or prevent
the correct working of the net command, so I suppose it's ok to have
them there.
----------------------
smbldap-tools.
extracted to /usr/local/sbin
moved smbldap_conf.pm and smbldap_tools.pm
to /usr/lib/perl5/site_perl/5.8.3/
built mkntpwd a...
2004 Dec 09
0
Samba / LDAP on OpenBSD
...public = no
writeable = no
browsable = no
; share for storing user profiles
[profiles]
path = /usr/local/samba/profiles
writeable = yes
create mask = 0700
directory mask = 0700
browsable = no
--- end of smb.conf
--- smbldap_conf.pm
$UID_START = 2000;
$GID_START = 2000;
$SID='S-1-5-21-4276031234-832571036-2739979074';
$slaveLDAP = "127.0.0.1";
$slavePort = "389";
$masterLDAP = "127.0.0.1";
$masterPort = "389";
$ldapSSL = "1";
$suffix = "dc=myhost,dc=com";
$usersou...
2003 Jun 04
2
Samba LDAP Primary Domain Controller
...Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$UID_START $GID_START $smbpasswd $slaveLDAP $masterLDAP
$with_smbpasswd $mk_ntpasswd
$ldap_path $ldap_opts $ldapsearch $ldapsearchnobind
$ldapmodify $ldappasswd $ldapadd $ldapdelete $ldapmodrdn
$suffix $usersdn $computersdn
$groupsdn $scope $binddn $bindpasswd
$slaveDN $slavePw $masterDN $masterPw
$_userLogin...
2005 Nov 01
3
Samba domains with ldap
Skipped content of type multipart/mixed
2007 Jan 30
2
Netlogon, roming profiles in samba(PDC)-ldap
...USA.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
##############################################################################
#
# General Configuration
#
##############################################################################
#UID and GID starting at...
UID_START="1000"
GID_START="1000"
# Put your own SID. To obtain this number do: "net getlocalsid".
# If not defined, parameter is taking from "net getlocalsid" return
SID="S-1-5-21-2118587481-1440970363-3314129951"
# Domain name the Samba server is in ch...
2004 May 06
0
having problems with samba 3 + net groupmap
...uest ok = Yes
profile acls = Yes
csc policy = disable
# next line is a great way to secure the profiles
force user = %U
# next line allows administrator to access all profiles
valid users = %U "Domain Admins"
*/etc/samba/smbldap file
*
# UID and GID starting at...
UID_START="1000"
GID_START="1000"
SID="S-1-5-21-405122049-3903294769-2376448101"
slaveLDAP="127.0.0.1"
slavePort="389"
masterLDAP="127.0.0.1"
masterPort="389"
ldapTLS="0"
suffix="dc=nijacol,dc=net"
usersdn="ou=Peop...
2005 Feb 12
1
Any ideas - samba3+openldap2.2.15-5: problems loggin users onto domain
...edes,dc=tre-sc,dc=gov,dc=br?one
nss_base_passwd ou=Computers,dc=labredes,dc=tre-sc,dc=gov,dc=br?one
nss_base_shadow ou=Users,dc=labredes,dc=tre-sc,dc=gov,dc=br?one
nss_base_group ou=Groups,dc=labredes,dc=tre-sc,dc=gov,dc=br?one
ssl no
pam_password md5
#smbldap.conf
UID_START="1000"
GID_START="1000"
SID="S-1-5-21-3703471949-3718591838-2324585696"
slaveLDAP="127.0.0.1"
slavePort="389"
masterLDAP="127.0.0.1"
masterPort="389"
suffix="dc=labredes,dc=tre-sc,dc=gov,dc=br"
usersdn="ou=Users,dc...
2004 Mar 02
0
smbldap-useradd hangs in RH9
...="cn=Manager,o=senado.es"
slavePw="secret"
masterDN="cn=Manager,o=senado.es"
masterPw="secret"
--------------------------------------------------------------------------------------------------
[root@sist11 smbldap-tools]# grep -v ^# smbldap.conf | grep -v ^$
UID_START="1000"
GID_START="1000"
SID="S-1-5-21-2056510298-3027076148-852687323"
slaveLDAP="127.0.0.1"
slavePort="389"
masterLDAP="127.0.0.1"
masterPort="389"
ldapTLS="0"
verify=""
cafile=""
clientcert="&...
2005 Oct 18
0
Error join samba PDC from XP
...0.0.1>
BASE dc=fasitet,dc=se
And at least the /etc/smbldap-tools/smbldap.conf
##############################################################################
#
# General Configuration
#
##############################################################################
# UID and GID starting at...
UID_START="1000"
GID_START="1000"
# Put your own SID
# to obtain this number do: net getlocalsid
SID="S-1-5-21-2628040634-270012795-1265092401"
##############################################################################
#
# LDAP Configuration
#
#############################...
2005 Oct 18
0
Error joining Win Xp to Samba PDC
...0.0.1>
BASE dc=fasitet,dc=se
And at least the /etc/smbldap-tools/smbldap.conf
##############################################################################
#
# General Configuration
#
##############################################################################
# UID and GID starting at...
UID_START="1000"
GID_START="1000"
# Put your own SID
# to obtain this number do: net getlocalsid
SID="S-1-5-21-2628040634-270012795-1265092401"
##############################################################################
#
# LDAP Configuration
#
#############################...
2004 Feb 20
1
problems on join domain on Samba3 + ldap
...A.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
##############################################################################
#
# General Configuration
#
##############################################################################
# UID and GID starting at...
UID_START="1000"
GID_START="1000"
# Put your own SID
# to obtain this number do: net getlocalsid
SID="S-1-5-21-3642312925-2943760701-1776766777"
##############################################################################
#
# LDAP Configuration
#
############################...
2007 Aug 15
0
[git patch] fstype support + minor stuff
...+#define __SQUASHFS_FS_H
+
+/*
+ * Squashfs
+ */
+
+#define SQUASHFS_MAGIC 0x73717368
+#define SQUASHFS_MAGIC_SWAP 0x68737173
+
+/* definitions for structures on disk */
+struct squashfs_super_block {
+ unsigned int s_magic;
+ unsigned int inodes;
+ unsigned int bytes_used_2;
+ unsigned int uid_start_2;
+ unsigned int guid_start_2;
+ unsigned int inode_table_start_2;
+ unsigned int directory_table_start_2;
+ unsigned int s_major:16;
+ unsigned int s_minor:16;
+ unsigned int block_size_1:16;
+ unsigned int block_log:16;
+ unsigned int flags:8;
+ unsigned int no_uids:8;
+ unsigned int n...