search for: groupadd

Displaying 20 results from an estimated 1245 matches for "groupadd".

2015 Sep 02
2
groupadd failure
The munin rpms from EPEL failed to install correctly on a particular machine. This is why # /usr/sbin/groupadd -r munin groupadd: Can't get unique system GID (no more available GIDs) # but I don't understand why this happens. Even after checking the man pages for groupadd and login.defs, I have been unable to determine what the settings for SYS_GID_MIN/SYS_GID_MAX on RHEL/CentOS are. None of the 5/...
2009 Nov 19
0
migrating NT4 PDC to samba3. netrpc vampire errors
...indows-nt.html I am able to join the Domain but when I go to net rpc vampire I get the following errors: Not all my users get transfered: [root at HERCULES ~]# net rpc vampire -S GENOME -w HERCULES -U administrator Fetching (to passdb) DOMAIN database Creating unix group: 'Domain Admins' groupadd: 'Domain Admins' is not a valid group name smb_create_group: Running the command `/usr/sbin/groupadd 'Domain Admins'' gave 3 Creating unix group: 'Domain Users' groupadd: 'Domain Users' is not a valid group name smb_create_group: Running the command `/usr/sbin/gr...
2004 Jul 23
1
NT domain migration to LDAP/SAMBA
..., and Samba does the appropriate stuff to try and populate the LDAP database. The scripts I've got configured are:- add user script = /usr/local/sbin/smbldap-useradd -a -m '%u' delete user script = /usr/local/sbin/smbldap-userdel '%u' add group script = /usr/local/sbin/smbldap-groupadd -p '%g' delete group script = /usr/local/sbin/smbldap-groupdel '%g' add user to group script = /usr/local/sbin/smbldap-groupmod -m '%u' '%g' delete user from group script = /usr/local/sbin/smbldap-groupmod -x '%u' '%g' set primary group script = /usr/...
2004 Sep 09
3
Could not create posix account info
...error connecting to 192.168.138.5:445 (Connection refused) [2004/08/17 14:09:29, 3] lib/util_sock.c:open_socket_out(752) Connecting to 192.168.138.5 at port 139 Fetching DOMAIN database SAM_DELTA_DOMAIN_INFO not handled Creating unix group: 'Domain Admins' /usr/local/sbin/smbldap-groupadd: group Domain Admins exists [2004/08/17 14:09:30, 3] groupdb/mapping.c:smb_create_group(1113) smb_create_group: Running the command `/usr/local/sbin/smbldap-groupadd -p "Domain Admins"' gave 6 Creating unix group: 'Domain Users' /usr/local/sbin/smbldap-groupadd: group Do...
2015 Sep 02
3
groupadd failure
Sorry, I didn't read what you said carefully enough -- it's trying to create a system group. Still, looking inside of /etc/group to see what system groups already exist is probably a good idea. On Wed, Sep 02, 2015 at 02:19:51PM -0700, Greg Lindahl wrote: > The groupadd manpage gives this clue: > > The default is to use the smallest ID value greater than or equal to > GID_MIN and greater than every other group. > > Maybe you have a group numbered GID_MAX or more already? 60000, > according to the manpage. > > On Wed, Sep 02, 2015 at...
2010 Mar 01
5
Slightly OT: check creation of a group
Hi, I'm currently writing an install script for an application, and my already limited Bash skills are a bit rusty. I want to check if a group exists, and if it doesn't, then create it. Only thing I found is: if [ grep medintux /etc/group ]; then continue else groupadd medintux fi Apparently I can't seem to "negate" the test, e. g. something like if !(grep medintux /etc/group) Any suggestions for the correct syntax here ? Thanks, Niki
2015 Sep 02
0
groupadd failure
The groupadd manpage gives this clue: The default is to use the smallest ID value greater than or equal to GID_MIN and greater than every other group. Maybe you have a group numbered GID_MAX or more already? 60000, according to the manpage. On Wed, Sep 02, 2015 at 09:42:29PM +0100, isdtor wrote: > The...
2006 Dec 13
1
Problem with duplicated groups?
...44836-3936822875-513) -> -1 Backup Operators (S-1-5-32-551) -> -1 Users (S-1-5-32-545) -> -1 Ok, according to official documentation this is "normal" because i'm using tdbsam. After it, i map all those Windows groups to UNIX equivalents via a script like this: #!/bin/bash groupadd ntadmin groupadd domkrbtgt groupadd domcomp groupadd domcontr groupadd certadmin groupadd schemadmin groupadd enterpadmin groupadd poladmin groupadd foo groupadd bar ### Mapping Windows Groups net groupmap modify ntgroup="Domain Admins" unixgroup=ntadmin type=d net groupmap modify ntg...
2007 Mar 04
0
Samba PDC (3.0.24)
.... add root = Administrator 2. start samba 3. use pdbedit -a to add user 'root' and assign a password to it from samba 3.0.23 there are NO default Windows Domain Groups, we must create them now. 4. Add default Windows Domain Groups as unix groups:- (group IDs nicked from online examples) groupadd -g 512 "Domain Admins" groupadd -g 513 "Domain Users" groupadd -g 514 "Domain Guests" groupadd -g 515 "Domain Computers" groupadd -g 544 "Administrators" groupadd -g 550 "Print Operators" groupadd -g 551 "Backup Operators" groupa...
2015 Sep 03
1
groupadd failure
...bet that's just the usual case > of generic documentation not tailored to the distribution. > > The highest id in the group file is 499. Combined with the error, this > could be consistent with a SYS_GID_MAX of 499. But no ids between 189 > and 485 have been assigned at all. Is groupadd really this limited? there exist a distinction between normal and system accounts/groups. For example: everything under 499 are system accounts (e.g. daemons) and 500 is your first user account ... -- LF
2005 Dec 30
2
Why are dots in username & groupname no longer allowed?
For some strange reason I am no longer able to create groupnames or usernames (with useradd and groupadd) that contain a dot. Uptill now it was possible to create user&groupnames like c.smith but now I get these errors: [root at server etc]# useradd c.smith useradd: invalid user name 'c.smith' [root at server1 etc]# groupadd c.smith groupadd: c.smith is a not a valid group name Anyth...
2009 Dec 26
0
Problem using smbldap-groupadd / net group add
Hello, I've got a problem using ldap support on my Ubuntu jaunty. Here are the versions : samba/jaunty uptodate 2:3.3.2-1ubuntu3.2 smbldap-tools/jaunty uptodate 0.9.4-1 First of all, smbldap-groupadd don't use the sambaNextRid to create a group, it compute it. Is this a normal way ? I've patch smbldap-groupadd to do this : - #$group_rid = 2*$_groupGidNumber+1001; + $group_rid=get_next_id($config{groupsdn},"sambaNextRID"); But that doesn't work :(( Here is the long story...
2004 Mar 18
3
migration nt4 with ldap problem
...chine suffix =ou=rechner ldap group suffix =ou=gruppen ldap ssl = no ldap delete dn = no add user script = /usr/local/sbin/smbldap-useradd.pl -m "%u" delete user script = /usr/local/sbin/smbldap-userdel.pl "%u" add group script = /usr/local/sbin/smbldap-groupadd.pl -p "%g" delete group script = /usr/local/sbin/smbldap-groupdel.pl "%g" add user to group script = /usr/local/sbin/smbldap-groupmod.pl -m "%u" "%g" set primary group script = /usr/local/sbin/smbldap-usermod.pl -g "%g" "%u"...
2015 Sep 03
0
groupadd failure
...em accounts.", but I bet that's just the usual case of generic documentation not tailored to the distribution. The highest id in the group file is 499. Combined with the error, this could be consistent with a SYS_GID_MAX of 499. But no ids between 189 and 485 have been assigned at all. Is groupadd really this limited?
2004 Aug 05
0
Charset Problem on the smbldap-groupadd
...igration of an NT4 PDC to a RH AS 3 server PDC with Samba3+openLDAP backend. For the time being everything worked just smooth up to the net rpc vampire command. After several identification problems for the DSA accounts, I rebuilt the DSA entries and everything works smooth. I can use smbldap-groupadd to add for example a group called Administrators. When trying to do the same for.. Admins du domaine, vampire and the whole migration operation hangs up. I found out why by doing a strace -f -p PID -o FILE2WRITE4ERROR I found that it is the smbldap-tools which causes these errors. Is the m...
2010 May 06
1
useradd and groupadd very slow
Hi everybody, After joining a Windows 2003 Active Directory Domain the commands to add local Users and Groups to the Linux machine are very slow. It took up to 10 minutes to add a User or a Group. OS is CentOS 5.4 (Samba Version 3.0.33-3.15). Everything else works without problems. I assume the reason is that our Active Directory Domain is very huge (about 30.000 Users) but I haven't found
2005 Apr 27
2
Question to the Samba-Developer
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, as mentioned in a thread before, I'm in trouble when trying to add a local group via NT-Usermanager. I think the problem is the following line in the smb.conf: add group script = /usr/local/sbin/smbldap-groupadd -p "%g" In this case, the only parameter that is handed over to the smbldap-groupadd script is the name of the group ("%g"). Unfortunately the script doesn't know, which type of group it has to create. By default, it creates a global group. So is there a variable available,...
2017 Sep 15
2
File server questions
...er, how easy will be to migrate from DC? I am reading this https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs For the "Granting the SeDiskOperatorPrivilege Privilege" section, it mentions "Domain Admins" group, do I need to create all groups with below? groupadd <group name> So, a small step-by-step would be: 1- Create all groups with: groupadd <group name>, example: groupadd "Domain Admins" 2- Create local user accounts with: useradd -M -s /sbin/nologin <user name> 3- Add password to local user accounts with: passwd <user...
2015 Sep 03
1
groupadd failure
On 09/03/15 04:33, isdtor wrote: > On 02/09/2015, Greg Lindahl <lindahl at pbm.com> wrote: >> Sorry, I didn't read what you said carefully enough -- it's trying to >> create a system group. Still, looking inside of /etc/group to see what >> system groups already exist is probably a good idea. > > This is not exactly trivial to figure when there's no
2017 Sep 18
1
File server questions
...s >> https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs >> >> For the "Granting the SeDiskOperatorPrivilege Privilege" section, it >> mentions "Domain Admins" group, do I need to create all groups with >> below? >> >> groupadd <group name> >> >> So, a small step-by-step would be: >> >> 1- Create all groups with: groupadd <group name>, example: groupadd >> "Domain Admins" > No, you do not need to create this group, it should already exist in AD Ok, how can I verify?...