Displaying 4 results from an estimated 4 matches for "nametogid".
Did you mean:
name_to_gid
2004 Feb 17
4
group problem on NT4 domain
Hi,
Installed latest Samba3.0.2a on NT4 domain, security = domain and net rpc
join successfully.
everything work great, but group permission failed, error message is
"user_in_winbind_group_list: nametogid for group NTGROUP failed".
smb.conf on shares as below:
=====================
omitted base configurations...
[shareA]
path = /public/shareA
valid users = <mailto:'@NT\Domain> '@NT\Domain Users'
write list = NT\steven
the conf is simple but error occured. No one ca...
2003 Sep 08
7
Simple configuration and not working.
First, i'm sorry to be so silly that i don't even to success a basic samba
configuration simply working.
Compilation of the rc2 had no errors.
testparm against my smb.conf said ok, and i can start nmbd and smbd.
I also add a new unix user, said toto, and added it in samba.
The problem is that i can't connect to any share, via Windows or via
GNU/Linux.
The result from Windows is a new
2004 Feb 17
0
group problem on NT4 domain (revised)
...problem on NT4 domain
On Tue, 17 Feb 2004, steven.TSE wrote:
> Hi,
>
> Installed latest Samba3.0.2a on NT4 domain, security = domain and net rpc
> join successfully.
>
> everything work great, but group permission failed, error message is
> "user_in_winbind_group_list: nametogid for group NTGROUP failed".
Do you have winbindd running?
Is /etc/nsswitch.conf configured to use winbind?
- John T.
>
> smb.conf on shares as below:
> =====================
> omitted base configurations...
>
> [shareA]
> path = /public/shareA
> valid users = '@N...
2004 Jan 30
0
[PATCH] Group mapping primary group SID update
...p(argv[i], "ntgroup", strlen("ntgroup")) ) {
@@ -398,6 +463,8 @@
if ( ntgroup[0] )
fstrcpy( map.nt_name, ntgroup );
+ /* Keep old gid in memory then change it if needed */
+ old_gid = map.gid;
if ( unixgrp[0] ) {
gid = nametogid( unixgrp );
if ( gid == -1 ) {
@@ -416,6 +483,16 @@
d_printf("Updated mapping entry for %s\n", ntgroup);
+ /* If gid changed we may need to update user SIDs */
+ if(old_gid != map.gid) {
+ /* Compute primary group SID for users belonging...