[Samba] how to rename/label network drives

2006-01-26 Thread Taolizhong
Hello --
   
  I am running samba 3.0.20b as PDC. The clients are running Windows XP SP2.  I 
have a question about how to rename/label the network drive on the clients.
   
  It appears when users login, Windows OS automatically names the mapped drives 
shown in Windows explorer as sharename  server name  (drive letter), such as 
public on 'Samba 3.0.21b (pdc.example.com)' (P:).  The user could rename it 
manually via right click on the drive and choose rename option.  I wonder if 
it is possible for Samba system administrtors to rename/label it such that when 
users log onto their account, the drive(s) have desired label/name.
   
  BTW, I tried DOS command label P:myname. It gave me error message like 
Parameters are not compatible.
   
  Thanks,
   
  --Ling
   


-
Bring words and photos together (easily) with
 PhotoMail  - it's free and works with your Yahoo! Mail.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] file mode creation at a directory level

2005-11-29 Thread Taolizhong
Hello --
   
  I am creating a share directory on a samba server for a group of users. I 
would like to make sure:
   
  1. Only the members in that group can create files and subfolders on that 
directory 
  2. Other people cannot have any access to the files/subfolers.
  3. The members can have full access to files/directories other members create.
   
  The above requirements seem simple, however, my problem is, because the share 
directory is neither under any of the members' home directory nor a seperate 
partition, and the system umask is set to 022, which is not supposed to be 
changed,  whenever a new file is created, it automatically has permission as 
-rwxr--r--, not -rwxrwx--- that I desire. I guess my problem is related to how 
to file mode creation at a directory level.
   
  The samba version I am running is 3.0.20b and the OS is Solaris/x86.

Thanks,
   
  --Lingtao


-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] file mode creation at a directory level

2005-11-29 Thread Taolizhong


Josh Kelley [EMAIL PROTECTED] wrote:  On 11/29/05, Taolizhong wrote:
 The above requirements seem simple, however, my problem is, because the share 
 directory is neither under any of the members' home directory nor a seperate 
 partition, and the system umask is set to 022, which is not supposed to be 
 changed, whenever a new file is created, it automatically has permission as 
 -rwxr--r--, not -rwxrwx--- that I desire. I guess my problem is related to 
 how to file mode creation at a directory level.

force create mode = 0770


Thanks a lot, Josh. The force create mode solves the problem partially --- 
now the group members have full access to the files. However, for some unknow 
reason, the permission for other doesn't work. They still have read access. 
In addition, it doesn't work on subfolders either. Please see the following:
   
  bash-2.05# ls -ld share/
drwsrws--x  3 tech group1 512 Nov 29 13:50 share/
bash-2.05# cd share/
bash-2.05# ls -l
total 2
drwxr-sr-x  2 guest01 group1 512 Nov 29 13:51 a
-rwxrwxr--  1 guest01 group1   0 Nov 29 13:49 test.txt

  Any further sugestions?
   
  Thanks,
   
  --Lingtao


-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] file mode creation at a directory level

2005-11-29 Thread Taolizhong
  Josh Kelley wrote: On 11/29/05, Taolizhong wrote:
 The above requirements seem simple, however, my problem is, because the share 
 directory is neither under any of the members' home directory nor a seperate 
 partition, and the system umask is set to 022, which is not supposed to be 
 changed, whenever a new file is created, it automatically has permission as 
 -rwxr--r--, not -rwxrwx--- that I desire. I guess my problem is related to 
 how to file mode creation at a directory level.

force create mode = 0770


Thanks a lot, Josh. The force create mode solves the problem partially --- 
now the group members have full access to the files. However, for some unknow 
reason, the permission for other doesn't work. They still have read access. 
In addition, it doesn't work on subfolders either. Please see the following:

bash-2.05# ls -ld share/
drwsrws--x 3 tech group1 512 Nov 29 13:50 share/
bash-2.05# cd share/
bash-2.05# ls -l
total 2
drwxr-sr-x 2 guest01 group1 512 Nov 29 13:51 a
-rwxrwxr-- 1 guest01 group1 0 Nov 29 13:49 test.txt

Any further sugestions?

Thanks,

--Lingtao


-
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-- 
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

I think I figured out the answer:
   
 
   create mask = 0770
 force create mode = 0770
 directory mask = 0770
 force directory mode = 0770
  
Thanks,
   
  --Lingtao



-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Creating domain list takes too long

2005-11-28 Thread Taolizhong
Hello --
   
  We have a LAN that consists of a samba domain controller and a bunch of  PCs. 
 The samba version is 3.0.20b and the PCs are running Windows XP (sp2).  The 
Windows clients can join the domain without any problem, however,  a message 
saying Please wait while the domain list is created shows up right after the 
first time after the clients join the domain and reboot. This procedure of 
creating the domain list takes a very very long time.  I wonder if  there is a 
way to reduce it.
   
  Thanks,
   
  --Lingtao
   


-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] VLAN issue

2005-09-23 Thread Taolizhong
Hi --
 
The environment we have is as follows,
  Domain controller:  samba 3.0.14a running Solaris 9/X86
  Authentication: openldap 2.2.14
  Clients: Windows XP with SP2
 
The issue I met:
  If both clients and Samba server are on the same physical switch (also same 
subnet), the clients can join the domain and users can log into their domain 
accounts without any problem. However, if the clients and the Samba server are 
networked via VLAN (not on the same switch but still virtually on the same 
subnet),  the clients still can join the domain, but, after  the clients are 
rebooted, users are greeted with message: Please wait while the domain list is 
created for about 5 minutes and then generate the following message:
The remote procedure call failed and did not execute
when the users try to login to their domain account.
 
It seems to me the issue came from the VLAN. I am wondering what configuration 
change I should request the person who is in charge of VLAN make to fix the 
problem. Or, any other ways I can do on the samba server side to walk around 
this issue?
 
Thanks 
--Lingtao
 


-
Yahoo! for Good
 Click here to donate to the Hurricane Katrina relief effort. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] network drive display

2005-08-11 Thread Taolizhong
Hello --
 
I am running a samba PDC server (samba 3.0.14a). Windows XP clients can join 
the domain successfully. The network drive shows on clients' my computer' as 
UserName on 'Samba 3.0.14a (ServerName)' (Z:). I would like to have it shown 
just simply as Z: . How can I do this?
 
Thanks,
 
--Taolizhong


-
 Start your day with Yahoo! - make it your home page 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] migrate existing Unix password to sambapassword

2005-07-21 Thread Taolizhong


 Our existing Unix system has more than 500 users.
The system 
currently
 uses OpenLDAP to authenticate users. We just added
dozens of PCs 
running
 Windows to the network. We are going to set up the
existing Unix 
server
 as a samba PDC server such that the users can log
onto either their 
Unix
 account or Windows account. It seems a good idea to
allow the users 
have
 the same password for their new Windows account as
that for their
 existing Unix account. I wonder if there is any way
to accomplish 
this,
 especially automatically.


Since you are already usng OpenLDAP to authenticate
your Unix users, 
you
can also use it to authenticate your Windows users.
Since they will 
then
be authenticating from the same database, you won't
have to worry 
about
password sync. This is covered in the Samba HOWTO.


Thanks,Dwight. But the password entries for the Unix
account and Windows account of a user are different
(userPassword, SambaNTPassword). According to 
Paul Gienger's reply (thx Paul too), it seems that it
is impossible to populate users' SambaNTPassword with
the same value of their UserPassword. 

Considering we have more than 500 users, I still
wonder if there is a way I can populate their Samba
entries automatically and quickly -- even the value of
SambaPasword is set to be temporary and is different
from the correpsonding userPassword. smbpasswd command
seems only can be used at interactive mode.

Thanks,

--Lingtao




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] migrate existing Unix password to sambapassword

2005-07-20 Thread Taolizhong
Hello --
 
Our existing Unix system has more than 500 users. The system currently uses 
OpenLDAP to authenticate users. We just added dozens of PCs running Windows to 
the network.  We are going to set up the existing Unix server as a samba PDC 
server such that the users can log onto either their Unix account or Windows 
account. It seems a good idea to allow the users have the same password for 
their new Windows account as that for their existing Unix account. I wonder if 
there is any way to accomplish this, especially automatically.
 
Thanks,
 
--Lingtao


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba