- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Connection CIFS always exist after closing session...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 05:42 AM
09-18-2003 05:42 AM
Connection CIFS always exist after closing session ?
J'utilise cifsclient A.01.08 sur un serveur hp-ux 11.00 pour acc??der une ressouce partag??e sur un serveur Windows 2000.
Lors de la connexion sur la platform hp-ux les utilisateurs sont connect??s automatiquement ?? la ressource partag??e gr??ce ?? une commande cifslogin dans leur .profile.
Le probl??me est que lorsque les utilisateurs ferment leur session sous hp-ux, la ressource CIFS est toujours presente.
Comment fermer la connection ?? la ressource windows automatiquement ?? la fermeture de la session utilisateur ?
Existe t-il un fichier lu au moment de l'exit dans lequel on peut mettre une commande cifslogout ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 06:02 AM
09-18-2003 06:02 AM
Re: Connection CIFS always exist after closing session ?
The answer is no. There sould not be a process after the user has disconnected.
When a cifs/9000 user connects there is a sshd server process created which should terminate when the user disconnects.
See /etc/opt/samba/smb.conf for more information.
I also recommend getting current with CIFS. That would be A.01.09 for the client and A.01.10 for the server.
I sure hope your English is better than my French.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 07:20 AM
09-18-2003 07:20 AM
Re: Connection CIFS always exist after closing session ?
But your french is certainly better than my english.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 08:43 AM
09-22-2003 08:43 AM
Re: Connection CIFS always exist after closing session ?
umount
for each of the mounted shares at the server, the connection will be closed.
You could automate this with a shell script. First use "cifslist -S" to ensure the server is mounted, then use "cifslist -u" to ensure no users are still logged in, then use the output of "mount -p" to get the mountpoints on the server of type "cifs" to unmount. This last step is easier if you have configured
mtab = ""
in cifsclient.cfg (this option is not available in versions prior to A.01.09).
Good luck. Please post if you have further questions or any problems with this solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 09:40 AM
09-22-2003 09:40 AM
Re: Connection CIFS always exist after closing session ?
My original answer refers to the server side smbd server process.
A smbd process is created every time a cifs client connects to a share. That is one process per connection. This server process can be connected in one of two ways:
1)User disconnect
2)Stopping the Samba server /sbin/init.d/samba stop
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 10:23 AM
09-22-2003 10:23 AM