[Samba] Re: winbind authentication problem on windowmaker

2003-01-28 Thread Rene Brask Soerensen
"Igor Debacker" <[EMAIL PROTECTED]> writes:

> Greetings from Brazil,
> 
> I installed winbind and everything seems good, but i have kde installed and
> i'm trying to run windowmaker.. if i choose 'failsafe' or log into the black
> terminal it runs ok.. but when i try to log into the windowmaker.. it does
> not log in... what should i do ?
> 
> other question.. is there a way to log with the local accounts when winbind
> is runnning ? i can only login with the Win 2k server account.. local
> accounts as 'root' and others.. can't be logged.. what should i change and
> where ?
> 
If I understand you right. You can't login to the Linux box as local
users. Then I should first check your /etc/nsswitch.conf. For users,
groups and passwd you should define where to look for the info: eg.

passwd :  files winbind 

Then it will first look in /etc/passwd and the try with winbind...

Hope it helps

Regards Rene

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: auto creating home dirs

2003-01-28 Thread Rene Brask Soerensen
"Igor Debacker" <[EMAIL PROTECTED]> writes:

> when someone log into a linux box.. with win2k accounts.. 
> it needs a home dir.. which is not created..
> how can i make it creates by itself ?
> 
There is a pam routine for that... Can't remember the name and os on,
but try google ;)

Hope it could help

Regards Rene

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: auto creating home dirs

2003-01-28 Thread Rene Brask Soerensen
"Kristyan Osborne" <[EMAIL PROTECTED]> writes:

> write a script to do it for you.
> 

Why write a script when pam can do i for you ? 

well you choice...

/Rene

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: Winbind: login "cannot find name for group ID XXXXX" ONLY RedHat 8

2003-01-28 Thread Rene Brask Soerensen
David Boynton <[EMAIL PROTECTED]> writes:

> Sigh...
> 
> I also have the same problem.  Unfortunately I was distracted last week while 
> I was looking into it.  It seems that the communication between the nsswitch 
> module and winbindd is broken.  On my box Winbind sees all the groups fine, 
> but the function getpwent() seems broken (somewhere).  I think I'm going to 
> try rebuilding from source and seeing if that fixes the problem.
> 
> Has anyone else experienced this?  If so, do you hold the same contempt for 
> RedHat 8.0 that I do? :)
> 

Same problem here, also on RedHat 8.0

If you solve it will you then post the solution ;) 

Thanks 

Regards Rene

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] winbind and enum groups

2003-01-30 Thread Rene Brask Soerensen
Hi All 

I have been struggling with winbind for over to weeks now. I have
searched nearly the whole Internet for info on my problems ;)

Right now I can auth Windows NT users on my Linux box (RH-8.0) with
samba-2.2.7a-1. But my big problem is that when a user i authorized it
can't find a group name for eg. 10. 

I have been considering the following debug method :

1. remove the winbindd_cache.tdb in /var/cache/samba. But I'm not sure
   if this is the only file I have to remove. Can anyone confirm ?
   (I know that I'll lose all user info)

2. restart smb nmb and winbindd. 

Can anyone please confirm this or give me a other solution ;)

Regards Rene 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: winbind and enum groups

2003-01-30 Thread Rene Brask Soerensen
Rene Brask Soerensen <[EMAIL PROTECTED]> writes:

> Hi All 
> 
> I have been struggling with winbind for over to weeks now. I have
> searched nearly the whole Internet for info on my problems ;)
> 
> Right now I can auth Windows NT users on my Linux box (RH-8.0) with
> samba-2.2.7a-1. But my big problem is that when a user i authorized it
> can't find a group name for eg. 10. 
> 
> I have been considering the following debug method :
> 
> 1. remove the winbindd_cache.tdb in /var/cache/samba. But I'm not sure
>if this is the only file I have to remove. Can anyone confirm ?
>(I know that I'll lose all user info)
> 
> 2. restart smb nmb and winbindd. 
> 
> Can anyone please confirm this or give me a other solution ;)
> 
> Regards Rene 

Hi again 

I have now tried removing /var/cache/samba/locks/winbindd_cache.tdb
and winbindd_idmap.tdb 

but no change... Still can't resolve gid...

Here id part of my smb.conf : 

winbind separator = +   
winbind cache time = 300
template shell = /bin/bash
template homedir = /home/%U
winbind uid = 10010-4
winbind gid = 10010-4
winbind enum users = yes
winbind enum groups = yes

workgroup = CORP
security = domain
password server = *

And some info from winbindd log : 

[2003/01/30 13:22:41, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105)
  [ 9956]: getpwnam CORP+supRBrS
[2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_endpwent(314)
  [ 9960]: endpwent
[2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(189)
  [ 9960]: getpwuid 10010
[2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_endpwent(314)
  [ 9960]: endpwent
[2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(189)
  [ 9967]: getpwuid 10010
[2003/01/30 13:22:45, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(189)
  [ 9979]: getpwuid 10010
[2003/01/30 13:22:45, 3] nsswitch/winbindd_group.c:winbindd_getgrgid(270)
  [ 9979]: getgrgid 10001
[2003/01/30 13:22:45, 3] nsswitch/winbindd_group.c:winbindd_getgrgid(270)
  [ 9979]: getgrgid 10010
[2003/01/30 13:24:34, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105)
  [ 9951]: getpwnam CORP+supRBrS
[2003/01/30 13:24:34, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105)
  [ 9956]: getpwnam CORP+supRBrS


Can anyone please help ;)

Regards Rene

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: winbind and enum groups

2003-01-30 Thread Rene Brask Soerensen
"Gerald (Jerry) Carter" <[EMAIL PROTECTED]> writes:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 30 Jan 2003, Rene Brask Soerensen wrote:
> 
> > Rene Brask Soerensen <[EMAIL PROTECTED]> writes:
> > 
> > > Hi All 
> > > 
> > > I have been struggling with winbind for over to weeks now. I have
> > > searched nearly the whole Internet for info on my problems ;)
> > > 
> > > Right now I can auth Windows NT users on my Linux box (RH-8.0) with
> > > samba-2.2.7a-1. But my big problem is that when a user i authorized it
> > > can't find a group name for eg. 10. 
> 
> This is not with the winbind gid range.

Sorry a typo. I ment 1. Here is a example :

[RBRS@lc37891 rbrs]$ ssh CORP+supRBrS@localhost
CORP+supRBrS@localhost's password: 
/usr/X11R6/bin/xauth:  creating new authority file /home/suprbrs/.Xauthority
id: cannot find name for group ID 1
[SupRBRS@lc37891 suprbrs]$ 

> 
> > Here id part of my smb.conf : 
> > 
> > winbind separator = +   
> > winbind cache time = 300
> > template shell = /bin/bash
> > template homedir = /home/%U
> > winbind uid = 10010-4
> > winbind gid = 10010-4
And here I have changed the range..
 
winbind uid = 1-4
winbind gid = 1-4

> > winbind enum users = yes
> > winbind enum groups = yes
> 
> 
> 
> 
> cheers, jerry
>  --
>  Hewlett-Packard- http://www.hp.com
>  SAMBA Team -- http://www.samba.org
>  GnuPG Key   http://www.plainjoe.org/gpg_public.asc
>  "You can never go home again, Oatman, but I guess you can shop there."  
> --John Cusack - "Grosse Point Blank" (1997)
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.0 (GNU/Linux)
> Comment: For info see http://quantumlab.net/pine_privacy_guard/
> 
> iD8DBQE+OUKxIR7qMdg1EfYRAjEAAJ4tMnEBS4u7GCz84G0vW2TTUOicIQCfcrf/
> KPcCHhSCoJP8+z00jlBlENA=
> =rjXz
> -END PGP SIGNATURE-

/Rene

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Copy User/Pass from Samba to WinXP

2003-02-05 Thread Jean-Rene Cormier
Ok I have a samba server that I use for file sharing, I have a lot of
trouble with it and I want to see if putting those shares on a WinXP box
would work better. But we don't have a domain here, just workstation in
a workgroup and I was wondering if there was a way I could copy all
user/pass from the samba server to the Windows box so that transfering
the shares from Samba to Windows would be transparent to them. I would
do that in the off hours of course. I don't need to sync the password
after that since it'll only be for a short period of time to see how
well or not it works. Like if I use the passwords in the smbpasswd file
is there a way I can import them in windows? I don't care if I have to
enter every user into the windows box by hand but I don't want to ask
everybody to retype their password for that.

And please don't reply if it's only to tell me to stay away from windows
or something like that, it pissed me off enough already today.

Thanks

Jean-Rene Cormier



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Adding printer drivers from WinXP

2003-03-06 Thread Jean-Rene Cormier
Well I'm trying to setup the Samba server to act as a print server too.
I had uploaded the drivers for the 4 printers we have and I installed
all 4 printers on my test computer and it worked well. But when I got
back from my vacations one of the tech told me that he couldn't install
the printer drivers from the server and when I check the driver didn't
seem to be in the driver list anymore. Now when I try to re-upload the
drivers it give me an error about not being able to save the parameters
because there's not enough memory. And in my log I get a bunch of these:

tdb(/var/cache/samba/ntprinters.tdb): rec_read bad magic 0xd9fee666 at
offset=9260

What can I do about that?

Here's my print$ share:

[print$]
path = /var/lib/samba/printers
guest ok = No
browseable = No
read only = Yes
valid users = @users
write list = root, jrc

Jean-Rene Cormier

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Groups in Samba w/LDAP and ACL

2003-03-27 Thread Jean-Rene Cormier
I have samba-2.2.8 with LDAP and ACL. When I open the ACL in WinXP how
do I add another group? Which attributes does Samba uses to search for
groups?

Thanks

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Copying profiles to a new samba server

2003-04-02 Thread Jean-Rene Cormier
Well I had to set up Samba on a new server and everything seem to went
pretty well for the most part but now when I try to log on the domain it
gives me an error message saying it couldn't load the profile on the
server. 

What I did was set up new server with pretty much the same
configuration, then one evening when there was nobody here I copied all
the profiles and other stuff from the old server to the new one and now
the profiles don't work. Any ideas?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Copying profiles to a new samba server

2003-04-02 Thread Jean-Rene Cormier
Thanks I just figured it out. It works well now!

Jean-Rene Cormier

On Wed, 2003-04-02 at 12:08, John H Terpstra wrote:
> On Wed, 2 Apr 2003, Jean-Rene Cormier wrote:
> 
> > Well I had to set up Samba on a new server and everything seem to went
> > pretty well for the most part but now when I try to log on the domain it
> > gives me an error message saying it couldn't load the profile on the
> > server.
> >
> > What I did was set up new server with pretty much the same
> > configuration, then one evening when there was nobody here I copied all
> > the profiles and other stuff from the old server to the new one and now
> > the profiles don't work. Any ideas?
> 
> Yes. The profiles (in particular the NTUser.DAT file) are keyed to the
> domain and user SIDs. Samba-3 will has a tool called 'profiles' that
> allows you to change the SIDs to those on the local domain.
> 
> The only way you can solve your problem now is to find out the SID for the
> old domain and change the new controller SID to it. You can use smbpasswd
> with the -S DOMAIN and -W SID options.
> 
> - John T.
> -- 
> John H Terpstra
> Email: [EMAIL PROTECTED]
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE : [Samba] Problem with oplock

2002-10-11 Thread Jean-Rene Cormier
Well I don't really understand all these file lock/oplock stuff but I'll
try it to see if it makes a difference...

Jean-Rene Cormier

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:samba-admin@;lists.samba.org] De
la part de Joel Hammer
Envoyé : 10 octobre, 2002 16:46
À : Jean-Rene Cormier; [EMAIL PROTECTED]
Objet : Re: [Samba] Problem with oplock

Would you consider disabling oplocks?
Joel
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] smbpasswd and LDAP

2002-04-11 Thread Jean-Rene Cormier

I noticed that when I use smbpasswd to change my password that is stored
in LDAP, if I have multiple uid it'll delete the extra ones is there a
way to prevent that? 

Jean-Rene Cormier




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] user accounts and 2 samba servers

2002-04-12 Thread Jean-Rene Cormier

Say I have a Samba server with users on it and I set up a second Samba
server and I put security = server and point it to the first server how
will samba manage the permissions and stuff on the 2nd server? Do I need
to copy the unix accounts on the 2nd server?

Jean-Rene Cormier



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Saving file and file locking problems

2002-05-23 Thread Jean-Rene Cormier

I was just with my boss cause he had trouble with some Excel and Word
document on the Samba server. I noticed that when he saves an Excel
document sometimes it takes a lot of time to save and sometimes Excel
stop responding, when that happens the file stays locked on the server
and when he tries to open it back, he can only open it read only. Is
there a reason why it takes so much time to save? And is there someway I
can prevent the file from staying locked?

Jean-Rene Cormier




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Installing in a different directory

2002-09-25 Thread Jean-Rene Cormier

I'm trying to install Samba in a different directory that it'll be
installed on the system so I can pack it and install it on other
systems. Is there a way I can do this?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] ACL support

2002-10-01 Thread Jean-Rene Cormier

Anybody got the latest version of ACL from acl.bestbit.at to work? I've
compiled the packages, then installed them from the RPM but I had no
luck at all. I compiled a kernel with ACL support but when I try to set
a new permission it says permission not supported or something like
that. I currently have a box with ACL working but it's the libacl.so.0
lib and the new version is libacl.so.1 but I can't get that to work at
all. Is there something I missed somewhere?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE : [Samba] ACL support

2002-10-01 Thread Jean-Rene Cormier

That must be it, I didn't see that mentioned anywhere.

Thanks a lot

Jean-Rene Cormier

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De
la part de Yura Pismerov
Envoyé : 1 octobre, 2002 10:32
À : Jean-Rene Cormier; [EMAIL PROTECTED]
Objet : Re: [Samba] ACL support

Jean-Rene Cormier wrote:
> 
> Anybody got the latest version of ACL from acl.bestbit.at to work?
I've
> compiled the packages, then installed them from the RPM but I had no
> luck at all. I compiled a kernel with ACL support but when I try to
set
> a new permission it says permission not supported or something like
> that. I currently have a box with ACL working but it's the libacl.so.0
> lib and the new version is libacl.so.1 but I can't get that to work at
> all. Is there something I missed somewhere?

Did you mount your fs with -o acl ?
Lates version of the kernel patch requires it...

> 
> Jean-Rene Cormier
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 

Yuri Pismerov, Sr. System Administrator, 
TUCOWS.COM INC. (416) 535-0123  ext. 1352
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE : [Samba] ACL support

2002-10-01 Thread Jean-Rene Cormier

Yes everything is compiled against the latest version of the libraries,
since all utilities came from acl.bestbit.at, also I was getting errors
while I was trying to set an acl manually so Samba wasn't the problem.
So to add the acl option I just add acl in the option field in fstab
right? Also what does user_xattrs will do? And are there other options
that I can put with ACL?

Jean-Rene Cormier

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De
la part de Crosby, Scott F.
Envoyé : 1 octobre, 2002 11:23
À : 'Jean-Rene Cormier'; Samba List
Objet : RE: [Samba] ACL support

A few things you may try. 
First, make sure your ACL utilities and samba are compiled against the
equivalent version of the libaries; make sure your versions line up as
best as possible.  Second, make sure you've mounted the filesystem with
the acl option set.  user_xattrs may also be useful.
Scott F. Crosby 
-Original Message- 
From: Jean-Rene Cormier [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 01, 2002 8:08 AM 
To: Samba List 
Subject: [Samba] ACL support 

Anybody got the latest version of ACL from acl.bestbit.at to work? I've 
compiled the packages, then installed them from the RPM but I had no 
luck at all. I compiled a kernel with ACL support but when I try to set 
a new permission it says permission not supported or something like 
that. I currently have a box with ACL working but it's the libacl.so.0 
lib and the new version is libacl.so.1 but I can't get that to work at 
all. Is there something I missed somewhere? 
Jean-Rene Cormier 

-- 
To unsubscribe from this list go to the following URL and read the 
instructions:  http://lists.samba.org/mailman/listinfo/samba 


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE : RE : [Samba] ACL support

2002-10-01 Thread Jean-Rene Cormier

Maybe they should put it in a brighter red ;) But thanks now it works!

Jean-Rene Cormier


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De la part de Yura Pismerov
Envoyé : 1 octobre, 2002 13:03
À : Jean-Rene Cormier
Cc : [EMAIL PROTECTED]
Objet : Re: RE : [Samba] ACL support

Jean-Rene Cormier wrote:
> 
> That must be it, I didn't see that mentioned anywhere.


It is right here in red (almost) colour :) 

http://acl.bestbits.at/download.html#Kernel


> 
> Thanks a lot
> 
> Jean-Rene Cormier
> 
> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De
> la part de Yura Pismerov
> EnvoyИ : 1 octobre, 2002 10:32
> ю : Jean-Rene Cormier; [EMAIL PROTECTED]
> Objet : Re: [Samba] ACL support
> 
> Jean-Rene Cormier wrote:
> >
> > Anybody got the latest version of ACL from acl.bestbit.at to work?
> I've
> > compiled the packages, then installed them from the RPM but I had no
> > luck at all. I compiled a kernel with ACL support but when I try to
> set
> > a new permission it says permission not supported or something like
> > that. I currently have a box with ACL working but it's the libacl.so.0
> > lib and the new version is libacl.so.1 but I can't get that to work at
> > all. Is there something I missed somewhere?
> 
> Did you mount your fs with -o acl ?
> Lates version of the kernel patch requires it...
> 
> >
> > Jean-Rene Cormier
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> --
> 
> Yuri Pismerov, Sr. System Administrator,
> TUCOWS.COM INC. (416) 535-0123  ext. 1352
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 

Yuri Pismerov, Sr. System Administrator, 
TUCOWS.COM INC. (416) 535-0123  ext. 1352


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Problem with oplock

2002-10-10 Thread Jean-Rene Cormier

Well I'm having some trouble with samba, I had those troubles on a box
for quite some time and not long ago I moved all the stuff to a new box
to see if it'll work better but it doesn't. I'm monitoring one person in
particular because she's the one who do most of the editing stuff in
there. What happens is when she opens a document (.doc or .xls most of
the time), when she tries to save it, Word or Excel freezes for a while
and then it says it can't save the file and it saves it under a
temporary name and locks the file so she can't rename or delete of do
anything with the file. Here are some pieces of the log file, anybody
care to explain to me what it means and how I can correct that
situation.

[2002/10/09 10:28:37, 0] smbd/oplock.c:oplock_break(796)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file somefile.doc (dev = 303, inode = 2129995,
file_id = 3).
[2002/10/09 10:28:37, 0] smbd/oplock.c:oplock_break(868)
  oplock_break: client failure in oplock break in file somefile.doc
[2002/10/09 10:28:47, 0] smbd/reply.c:reply_lockingX(4490)
  reply_lockingX: Error : oplock break from client for fnum = 12267 and
no oplock granted on this file (somefile.doc).

I'm running Samba 2.5 on an ext3 filesystem, my config file is pretty
simple (just what it needs to run). All the file locking/oplock stuff is
set to default and I currently have the log level at 1, I can increase
it if you need more information to help me out.

Thanks

Jean-Rene Cormier



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] winbind - getent group problem...server show'samr_open_group: Not yet implemented'

2003-06-16 Thread Rene' F. Henke
hi there...

i have a problem with winbind...

i can't get the getent group working

on the machine (where samba + winbind are running)

wbinfo -u (works)
wbinfo -g (works)
getent passwd (works)
getent group (doesn't work) ->

running winbind with "-i -d 2" i get

--
could not lookup membership for group rid 512 in domain testdomain
could not lookup domain group TESTDOMAIN+Domain Admins
could not lookup membership for group rid 513 in domain testdomain
could not lookup domain group TESTDOMAIN+Domain Users
error getting user info for user '[]\[nobody]'
--

the last line isn't always there

looking for 2 days on the redhat 9 machine running winbind i couldn't
find the problem

today i checked my server (redhat8/samba-2.2.7 5.8.0)

/var/log/samba/redhat9.log (which is the log file for the above client
machine)

shows this ???

-
[2003/06/16 18:19:55, 0]
rpc_server/srv_samr_nt.c:_samr_open_group(2766)
  _samr_open_group: Not yet implemented.
[2003/06/16 18:19:55, 0]
rpc_server/srv_samr_nt.c:_samr_open_group(2766)
  _samr_open_group: Not yet implemented.
-----

any ideas...

thanks,

rene'





=
~Never argue with an idiot, they just drag you down to their level and then beat you 
with experience.~

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Computer Account

2003-06-30 Thread Jean-Rene Cormier
On Sat, 2003-06-28 at 07:26, Andrew Bartlett wrote:
> On Sat, 2003-06-28 at 18:33, Andrey Nepomnyaschih wrote:
> > Hello,
> > 
> > Does samba-3.0.0beta-1 still requires a computer account to be present
> > inside OS user database? I had heard there were moves to make that
> > obsolete. 
> 
> No, provided you correctly configure it, this is no longer required.
> 
> If you allocate 'idmap uid 1-2' then smbd will create accounts
> in that range, if they don't already exist.  This will be tightened up a
> little, but for machines should still work. 

So does that mean that Samba 3.0 can automatically add machine accounts
in the LDAP directory without the need of some sort of useradd script?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Computer Account

2003-06-30 Thread Jean-Rene Cormier
On Mon, 2003-06-30 at 09:23, Andrew Bartlett wrote:
> On Mon, 2003-06-30 at 21:46, Jean-Rene Cormier wrote:
> > On Sat, 2003-06-28 at 07:26, Andrew Bartlett wrote:
> > > On Sat, 2003-06-28 at 18:33, Andrey Nepomnyaschih wrote:
> > > > Hello,
> > > > 
> > > > Does samba-3.0.0beta-1 still requires a computer account to be present
> > > > inside OS user database? I had heard there were moves to make that
> > > > obsolete. 
> > > 
> > > No, provided you correctly configure it, this is no longer required.
> > > 
> > > If you allocate 'idmap uid 1-2' then smbd will create accounts
> > > in that range, if they don't already exist.  This will be tightened up a
> > > little, but for machines should still work. 
> > 
> > So does that mean that Samba 3.0 can automatically add machine accounts
> > in the LDAP directory without the need of some sort of useradd script?
> 
> That is the intention.

Maybe the Samba 3.0 docs should be updated for this. Also would it be
possible to get user accounts from an LDAP directory and computer
accounts from another user database like the tdbsam_nua? This way the
LDAP directory wouldn't get filed with information that's only relevant
to Samba. Also is there a smb.conf documentation page that lists all the
configuration options for Samba 3.0? I'm installing Samba 3.0 and gonna
start testing with it a bit soon and I'm sure I'll have a few questions
soon.

Thanks

Jean-Rene Cormier

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Compiling Samba against OpenLDAP 2.0.27

2003-07-03 Thread Jean-Rene Cormier
Hi, I'm having some problems when compiling Samba against the OpenLDAP
2.0.27 shared libraries, I'm trying to compile Samba 3.0beta2 with LDAP
support but it can't find the ldap libraries for some reason. I'm not a
programmer so I don't understand how all these autoconf/automake script
works but I did some research and it seems that Samba is testing to see
if the ldap_init function is there and automake/autoconf or whatever is
compiling a small test program with -lldap. I did a small C file that
calls this function and tried to compile it with GCC.

I tried with just -lldap at first but I got a lot of undefined
references error, so I tried with -llber and I got only 2 undefined
references so I added -lresolv (since I recalled I had to add this in
the Makefile to compile Samba 2.2.X against OpenLDAP) and it worked. So
I'm thinking that the configure script in Samba doesn't link against all
those libraries so that's why it's saying that it doesn't find the LDAP
libraries.

What are my options here? Is this an OpenLDAP issue or a Samba issue?

Thanks

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Configure question

2003-07-10 Thread Jean-Rene Cormier
The other day I was trying to compile Samba 3.0.0beta2 with LDAP and the
configure script couldn't find the ldap libraries (or couldn't compile a
test file with them) so wouldn't it make sense for the configure script
to fail instead of just saying everything is okay and compiling Samba
without LDAP support?

Jean-Rene Cormier


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba