[Samba] Winbind problem (Trusting domains)

2005-12-14 Thread Adrian Chow
HI all, I have install 2 domains both on linux servers running debian samba 3.0.20b-2+b1. (Latest) I have both domains trusting each other. Domain A have 300 users and the other domain B have 3000 users. I have winbind on the nsswitch.conf for both PDCs. I have not errors runnning

Re: [Samba] Winbind problem (Trusting domains)

2005-12-14 Thread Adrian Chow
and I also use nscd to speed things up and ease the load on OpenLDAP. On 12/14/05, *Adrian Chow* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: HI all, I have install 2 domains both on linux servers running debian samba 3.0.20b-2+b1. (Latest) I have both domains trusting

Re: [Samba] Mapping Samba Server as a drive?

2005-04-08 Thread Adrian Chow
directories below it. it's the same effect. ? so instead of seeing all shares from a server, you have 1 share with all direcrories below it! (and if you have ACL installed, you can also do something with permissions!) Just an option.. Collen Adrian Chow wrote: Hi Matthew, I was talking about

[Samba] Mapping Samba Server as a drive?

2005-04-07 Thread Adrian Chow
Hi, I was just wondering whether can we map a samba server as a drive? If can, it would be GREAT! This is because we can make users who log on to the server see different directories (like novell) and i thought it would be EXCELLENT if we can map the samba server as a drive itself. If we

Re: Re: [Samba] Mapping Samba Server as a drive?

2005-04-07 Thread Adrian Chow
Apr 2005 09:43:21 -0700 you can map a samba server to a drive just like you'd map a windows-based server: net use h: \\servername\share or right click on My Network Places and select Map Network Drive... On Fri, Apr 08, 2005 at 12:28:18AM +0800, Adrian Chow ([EMAIL PROTECTED]) wrote: Hi, I

Re: [Samba] Excel files Locking up problem

2005-04-05 Thread Adrian Chow
, Adrian Chow wrote: Hi, My samba is 3.0.13 version. I got a funny problem. UserA logs on to a shared (all users can read/write/execute rights) drive and opens an excel file. UserA closes the file or modifies it. When UserA reopens the file in 5 secs or less, the file seems to be lock

[Samba] Excel files Locking up problem

2005-04-03 Thread Adrian Chow
Hi, My samba is 3.0.13 version. I got a funny problem. UserA logs on to a shared (all users can read/write/execute rights) drive and opens an excel file. UserA closes the file or modifies it. When UserA reopens the file in 5 secs or less, the file seems to be lock by the computer that

[Samba] setgid to sub directories

2005-03-27 Thread Adrian Chow
Hi, Does the inherit permissions = yes statement also sets the setgid for the sub directories? Looks like it does not. What is the equivalent settings for inherit permissions = yes? Cos I want to tweak the individual settings (e.g create mask) a bit. Thanks. adrian -- To unsubscribe from

[Samba] ACLS and samba

2005-03-23 Thread Adrian Chow
HI, I guess this question have been asked before:- I am running 3.0.12 for samba with acls. I have a samba share folder called abc with groups art able to write. group:art:rwx Whenever i write with a user from the art group to the folder, the group id of the file changes to the id of the

[Samba] Syslog has CUPS error

2005-03-23 Thread Adrian Chow
Hi, My syslog got this error smbd [2005/03/24 01:34:02, 0] printing/print_cups.c:cups_cache_reload(85) smbd[15707]: Unable to connect to CUPS server localhost - Connection refused smbd[15707]: [2005/03/24 01:34:02, 0] printing/print_cups.c:cups_cache_reload(85) smbd[15707]: Unable to

Re: [Samba] ACLS and samba

2005-03-23 Thread Adrian Chow
Hi jeremy, Thanks. But if after I did that and I create a directory underneath it, The new directory will not have guid set... how to solve it? Thanks again. adrian - Original Message - From: Jeremy Allison [EMAIL PROTECTED] To: Adrian Chow [EMAIL PROTECTED] Cc: samba

[Samba] Secondary group problem in include statement

2005-01-07 Thread Adrian Chow
Hi, Scenario :- User A belongs primarily to GroupA and secondary to GroupB. Somedirectory contains GroupA.conf and GroupB.conf Have anyone got include = /somedirectory/%g.conf in smb.conf to work such that scripts in groupA.conf and groupb.conf will be executed when UserA logins? Am I

[Samba] IPC$ when login as trusted user

2004-12-08 Thread Adrian Chow
Hi all, I am just curious with the following setup and hope to hear some good response on this:- 1. Why when I login as a trusted domain user on a computer, it logins anonymously? I have 2 domains that fully trust each other, Domain_A and Domain_B. Computer_A joins domain_A. I login as

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-05 Thread Adrian Chow
Hi Igor (and samba team), I have done the following:- -I have upgraded the samba versions of the both servers to be the same. -The ldap servers are in the same version. -DomainAPDC and DomainBPDC has winbind in nsswitch -wbinfo all works. -getent group and getent passwd shows ldap entries of local

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-05 Thread Adrian Chow
now. when do you think the code will be modified and be released? Thanks so much for your help. adrian -- Original Message -- From: Igor Belyi [EMAIL PROTECTED] Date: Fri, 05 Nov 2004 12:03:46 -0500 Adrian Chow wrote: Hi Igor (and samba team), I

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-04 Thread Adrian Chow
...)? Thats all the questions I can think of now. Thanks for helping. adrian Igor Belyi wrote: Adrian Chow wrote: Hi Igor, Do you have trustdomains in your auth methods? Currently I removed the winbind from nsswitch.conf. And smbclient //domain_B_PDC//shared -U domain_A/domain_A_user does

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-04 Thread Adrian Chow
: Adrian Chow wrote: Hi Igor, Do you have trustdomains in your auth methods? Currently I removed the winbind from nsswitch.conf. And smbclient //domain_B_PDC//shared -U domain_A/domain_A_user does not work. Have you tried smbclient //domain_B_PDC//shared -W domain_A -U domain_A_user? If I put

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-04 Thread Adrian Chow
You are right... I need winbind... this log is when it does not have... trying to emulate what you are doing.. adrian Igor Belyi wrote: Adrian Chow wrote: Hi Igor, Got some logs from the Domain_A_PDC on the domain_A_XP when domain_B user (grade2) logs into domain_B on domain_A_XP. [2004/11/05

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-03 Thread Adrian Chow
NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2004/11/04 08:40:52, 3] smbd/password.c:register_vuid(222) User name: STAFF\achowReal name: Adrian Chow [2004/11/04 08:40:52, 3] smbd/password.c:register_vuid(241

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-03 Thread Adrian Chow
does not work. adrian Igor Belyi wrote: Adrian Chow wrote: Hi Igor, Do you have trustdomains in your auth methods? Currently I removed the winbind from nsswitch.conf. And smbclient //domain_B_PDC//shared -U domain_A/domain_A_user does not work. Have you tried smbclient //domain_B_PDC//shared -W

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-03 Thread Adrian Chow
of using different versions (3.04 and 3.07). HOWEVER, the original problem of mapping the home directory still exist. adrian Igor Belyi wrote: Adrian Chow wrote: Hi Igor, Do you have trustdomains in your auth methods? Currently I removed the winbind from nsswitch.conf. And smbclient //domain_B_PDC

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-03 Thread Adrian Chow
) get_sam_group_entries: Native Mode 2k domain; enumerating local groups as well How should I proceed? Is it a winbind memory cache issue? adrian Igor Belyi wrote: Adrian Chow wrote: Hi Igor, Do you have trustdomains in your auth methods? Currently I removed the winbind from nsswitch.conf. And smbclient

Re: [Samba] Re: Trusting and trusted domain (home mapping) problem

2004-11-02 Thread Adrian Chow
. No, I do not use winbind for NSS (no winbind in /etc/nsswitch.conf). Winbind is used only by Samba when it maps users from trust domain into local space. Adrian Chow wrote: Hi Igor, I got stuck now. I did my best. I got stuck at the winbind which I suspected is the reason why

[Samba] Re: Trusting and trusted domain (home mapping) problem

2004-10-31 Thread Adrian Chow
Hi Igor, I got stuck now. I did my best. I got stuck at the winbind which I suspected is the reason why the domainA_computer cannot map the domain_B user's home directory. 1. What are the settings of your winbind? 2. Do you use only winbind in your libnss_ldap or use ldap as well? 3. My

[Samba] Re: Trusting and trusted domain (home mapping) problem

2004-10-29 Thread Adrian Chow
for giving that hope that you made it working before. Thanks for not posting up the logs and the conf files. Cheers, adrian Igor Belyi wrote: Adrian Chow wrote: Hi Igor, Here are my smb.conf files for feanor and gloin. They are the PDCs for the staff and student domain. My ldaps in the PDCs

[Samba] Re: Trusting and Trusted Domain Samba LDAP (mapping Home Directories)Problem

2004-10-27 Thread Adrian Chow
setup in DomainA... I'll keep you posted. Igor Igor Belyi wrote: Adrian Chow wrote: Hi Igor, Thanks for your prompt reply. Just curious whether you have read my previous email regarding the different setup for my side. I have :- Domain A controller :- openldap 2.1.23 (slave), samba 3.04 (PDC

[Samba] Re: Trusting and Trusted Domain Samba LDAP (mapping Home Directories)Problem

2004-10-26 Thread Adrian Chow
Hi Igor, Wondering have you tried to one the scenario when a domain B user logins on domain A machine where the domain B username is not found in domain A machine? Can you still map the drives? Also you were asking for the smbd files how should I get them? During when I login or during

[Samba] Re: Trusting and Trusted Domain Samba LDAP (mapping Home Directories)Problem

2004-10-26 Thread Adrian Chow
: /home' times - it will be great. Make sure that trace is with 'log level = 5' and if you have more than one machine that you collect trace for the Client XP machine (probably, by including %m in the 'log file'). I apologize for the delay. Igor Adrian Chow wrote: Hi Igor, Wondering have you

[Samba] Re: Trusting and Trusted Domain Samba LDAP (mapping Home Directories)Problem

2004-10-23 Thread Adrian Chow
for the glimpse of hope. Please give suggestions as I really need them. THANKS a lot for testing out on your side. adrian -- Original Message -- From: Igor Belyi [EMAIL PROTECTED] Date: Fri, 22 Oct 2004 18:26:08 -0400 Adrian Chow wrote: Hi Igor

[Samba] Trusting and Trusted Domain Samba LDAP (mapping Home Directories) Problem

2004-10-21 Thread Adrian Chow
Hi, Here is my scenario:- 1. I got 1 LDAP server with two domains (A B) configured to it. 2. Both domain PDCs are fully trusted to one another. I did the trustdom establish both ways. 3. I have 1 XP client that has joined Dom A. The login bar can allow you to login to 2 domains. 4. I can

[Samba] Re: Trusting and Trusted Domain Samba LDAP (mapping Home Directories) Problem

2004-10-21 Thread Adrian Chow
home = \\%D\%U' instead of the one you get by default: '\\%N\%U' Hope it helps, Igor Adrian Chow wrote: Hi, Here is my scenario:- 1. I got 1 LDAP server with two domains (A B) configured to it. 2. Both domain PDCs are fully trusted to one another. I did the trustdom establish both ways. 3. I

[Samba] Idealx programs and ldap backend

2004-06-16 Thread Adrian Chow
Hi, I got the following setup. I got a openLDAP server. This server is the master server for LDAP functions. I named this ldapsrv. I got a samba server with openLDAP install on it as well. This LDAP server is the slave to ldapsrv. I named this sambasrv. The sambasrv currently have the

Re: [Samba] Idealx programs and ldap backend

2004-06-16 Thread Adrian Chow
] Date: Wed, 16 Jun 2004 07:50:31 -0500 Adrian Chow wrote: Hi, I got the following setup. I got a openLDAP server. This server is the master server for LDAP functions. I named this ldapsrv. I got a samba server with openLDAP install on it as well. This LDAP server is the slave

Re: [Samba] Idealx programs and ldap backend

2004-06-16 Thread Adrian Chow
connection to the samba server to create a new user on the server? Thanks a lot for your input. Also Stephanie's. adrian Paul Gienger wrote: Adrian Chow wrote: Hi Paul, thanks for the reply. 2 questions:- 1. In the smbldap-useradd.pl file, there are lines that are commented out. SInce my add

[Samba] Pdbedit NTTIME

2003-07-09 Thread Adrian Chow
Hi, I ran pdbedit -L -v on my samba 3.0beta PDC. And I found out that the logoff time and most of the timing are way off the current time. It is like 1914 Dec. Anyway of rectifying it? The XP clients connecting to the PDC are reflecting the correct time Any clue of solving this?

[Samba] Samba 3.x PDC and Error 53 on clients

2003-07-09 Thread Adrian Chow
Hi, Wonder if any one encounter this weirdness ? When I tried to connect using Win2k clients to Samba 3.x server (on the same subnet) by doing \\server on the Windows Explorer, it have no problem. I could see all the shares. But when a Win2k client on another subnet (separated by a router) tried

[Samba] Password expired on XP for Samba 3.0 beta as PDC

2003-07-08 Thread Adrian Chow
Hi, I got a Samba 3.0 beta running on Linux as PDC. I don't have any settings for obey pam restriction but I have compiled it with PAM option. BUt I am not using the LDAP option. Then the password expiration message keeps popping out of my XP to tell me to change the password. Any way to get

[Samba] Samba 3.x and some confusion

2003-07-07 Thread Adrian Chow
Hi, I got 2 samba servers acting as PDC on the same subnet. 1 server is a 2.2.7 server and another is a 3.0beta server. I got XP, win98 clients on a subnet that is different than the PDCs. And win2k client on the same network as the PDC. The common wins server is 2.2.7 server. (Client means

[Samba] Samba acls

2003-06-29 Thread Adrian Chow
Hi, Can I know when a Samba user (one that is connecting to the Samba server via a Windows Client) creates a file in the shared folder or modifies a file in the shared folder, what would the acls of the file be? (I meant the gid and uid of the file) Mine worked as if it is always created as a

Re: [Samba] Roaming Profile XP

2003-06-24 Thread Adrian Chow
? adrian On Fri, Jun 20, 2003 at 06:01:47PM +0800, Adrian Chow wrote: I have configured roaming profile on WIndows Xp client that is connect to the Samba. Login works fine except that when I change the wallpaper on one machine, log off and goes to another machine, the wallpaper was not changed

Re: [Samba] Roaming Profile XP

2003-06-21 Thread Adrian Chow
, Jun 20, 2003 at 06:01:47PM +0800, Adrian Chow wrote: I have configured roaming profile on WIndows Xp client that is connect to the Samba. Login works fine except that when I change the wallpaper on one machine, log off and goes to another machine, the wallpaper was not changed on the other one

[Samba] Roaming Profile XP

2003-06-20 Thread Adrian Chow
Hi, I have configured roaming profile on WIndows Xp client that is connect to the Samba. Login works fine except that when I change the wallpaper on one machine, log off and goes to another machine, the wallpaper was not changed on the other one. Other files created on the desktop are changed.

[Samba] Samba XP

2003-06-12 Thread Adrian Chow
Hi, (Please reply to this address rather than the one posted previously) I am a newbie when it comes to XP and samba. I am planning to install samba domain controller for XP, 2000 machines. I read a bit about the registry hacking and some documents on the internet. But I need the following

[Samba] Hide files in samba share using Window

2003-03-10 Thread Adrian Chow Seng Yien
Hi, The following is done on a samba share:- When I want to hide files in on the Windows interface, I right-click the file and check on the hidden attribute, but the file still appears there. Must I rename the file with a dot in front in order to hide it? Any alternative to allow the use of

Re: [Samba] Hide files in samba share using Window

2003-03-10 Thread Adrian Chow Seng Yien
hidden file chosen from Microsoft or it will still show hidden files. Mike On Mon, 2003-03-10 at 18:41, Adrian Chow Seng Yien wrote: Hi, The following is done on a samba share:- When I want to hide files in on the Windows interface, I right-click the file and check on the hidden attribute

[Samba] Explaination for file permissions

2003-03-10 Thread Adrian Chow Seng Yien
Hi, I am confused about the file permission set. I have samba compiled with ACL option. Running Redhat 8.0 with ACL compiled and Samba 2.2.7. I have created a read-only share /test/xyz and under write list put userA and userB in it. UserA creates a file (test1) and under Windows I can see

[Samba] Ldap Samba and problems compiling

2003-03-05 Thread Adrian Chow Seng Yien
Hi, I got 2 problems :- 1. I was compiling samba-2.2.7-4.src.rpm on Redhat 8.0 system and with the option --with-pam_smbpass. It always fail when I am doing a rpmbuild -ba samba.specs. The error is similar to the person who posted on

RE: [Samba] Help on ACLs and samba

2002-11-15 Thread Adrian Chow Seng Yien
-Original Message- From: Adrian Chow Seng Yien [mailto:chowadrian;icr.a-star.edu.sg] Sent: 15 November 2002 02:16 To: [EMAIL PROTECTED] Subject: [Samba] Help on ACLs and samba Hi, Firstly I want to declare I am a newbie to Samba. I am installing samba over Redhat 8.0 I need to know

[Samba] ACL problem

2002-11-15 Thread Adrian Chow Seng Yien
Hi, I am running Redhat linux 8.0. rpm -qa | grep acl gives the following result libacl-2.0.11-2 acl-2.0.11-2 libacl-devel-2.0.11-2 How can I know whether I got acl support install on my NT machine? Do I need to specify acl support in the smb.conf file? I got problem giving permission to

[Samba] Help on ACLs and samba

2002-11-14 Thread Adrian Chow Seng Yien
Hi, Firstly I want to declare I am a newbie to Samba. I am installing samba over Redhat 8.0 I need to know whether Samba can replace my NT4 PDC in the following aspects and how to do it:- 1. ACLs. Must i create the every user name in Samba as in the NT4 PDC? How do I create groups like